﻿<?xml version="1.0" encoding="utf-8" ?>
<Rules FriendlyName="Dependency">
  <Rule>
    <TypeName>SpCop.General.EnsureDependenciesWhenDeployingToStyleLibrary</TypeName>
    <Name>Respect element scopes</Name>
    <CheckId>WSP0011</CheckId>
    <Category>Scopes</Category>
    <Resolution Name="DependencyNotFound">The feature {0} deploys files to {1} and thus requires publishing feature to be activated you should add it to the activation dependencies or make your feature hidden.</Resolution>
    <MessageLevel Certainty="95">CriticalError</MessageLevel>
    <FixCategories>Breaking</FixCategories>
    <ProductVersion>SharePoint2007, SharePoint2010</ProductVersion>
  </Rule>

</Rules>
